The value of k such that two vectors are orthogonal in integral product spaces
$begingroup$
For $f,g in C[0,1]$ we define inner product space $langle f,g rangle =int_0^1 f(x)g(x) dx$. Find the value of $k$ such that $f(x)=sin(kx)$ and $g(x)=cos(7x)$ are orthogonal in this inner product space.
I have tried to solve the integral for the given $f(x)$ and $g(x)$ function, and got this result:
$$k-kcos k cos 7-28sin k sin 7 = 0$$
I don't know how to find the value of $k$. I hope you can help me.
linear-algebra inner-product-space
$endgroup$
add a comment |
$begingroup$
For $f,g in C[0,1]$ we define inner product space $langle f,g rangle =int_0^1 f(x)g(x) dx$. Find the value of $k$ such that $f(x)=sin(kx)$ and $g(x)=cos(7x)$ are orthogonal in this inner product space.
I have tried to solve the integral for the given $f(x)$ and $g(x)$ function, and got this result:
$$k-kcos k cos 7-28sin k sin 7 = 0$$
I don't know how to find the value of $k$. I hope you can help me.
linear-algebra inner-product-space
$endgroup$
$begingroup$
Would you give more details of how you found the integral of $f(x)g(x)$ on $[0,1]$? I'd expect the product of the two trig functions to be written as a sum.
$endgroup$
– hardmath
Jan 2 at 4:16
1
$begingroup$
I write $sin(kx) cos(7x)$ as $frac{1}{2} sin(k+7)x + frac{1}{2} sin(k-7)x$ first.
$endgroup$
– Agung Izzul Haq
Jan 2 at 4:28
add a comment |
$begingroup$
For $f,g in C[0,1]$ we define inner product space $langle f,g rangle =int_0^1 f(x)g(x) dx$. Find the value of $k$ such that $f(x)=sin(kx)$ and $g(x)=cos(7x)$ are orthogonal in this inner product space.
I have tried to solve the integral for the given $f(x)$ and $g(x)$ function, and got this result:
$$k-kcos k cos 7-28sin k sin 7 = 0$$
I don't know how to find the value of $k$. I hope you can help me.
linear-algebra inner-product-space
$endgroup$
For $f,g in C[0,1]$ we define inner product space $langle f,g rangle =int_0^1 f(x)g(x) dx$. Find the value of $k$ such that $f(x)=sin(kx)$ and $g(x)=cos(7x)$ are orthogonal in this inner product space.
I have tried to solve the integral for the given $f(x)$ and $g(x)$ function, and got this result:
$$k-kcos k cos 7-28sin k sin 7 = 0$$
I don't know how to find the value of $k$. I hope you can help me.
linear-algebra inner-product-space
linear-algebra inner-product-space
edited Jan 2 at 5:39
zipirovich
11.4k11731
11.4k11731
asked Jan 2 at 3:55
Agung Izzul HaqAgung Izzul Haq
563
563
$begingroup$
Would you give more details of how you found the integral of $f(x)g(x)$ on $[0,1]$? I'd expect the product of the two trig functions to be written as a sum.
$endgroup$
– hardmath
Jan 2 at 4:16
1
$begingroup$
I write $sin(kx) cos(7x)$ as $frac{1}{2} sin(k+7)x + frac{1}{2} sin(k-7)x$ first.
$endgroup$
– Agung Izzul Haq
Jan 2 at 4:28
add a comment |
$begingroup$
Would you give more details of how you found the integral of $f(x)g(x)$ on $[0,1]$? I'd expect the product of the two trig functions to be written as a sum.
$endgroup$
– hardmath
Jan 2 at 4:16
1
$begingroup$
I write $sin(kx) cos(7x)$ as $frac{1}{2} sin(k+7)x + frac{1}{2} sin(k-7)x$ first.
$endgroup$
– Agung Izzul Haq
Jan 2 at 4:28
$begingroup$
Would you give more details of how you found the integral of $f(x)g(x)$ on $[0,1]$? I'd expect the product of the two trig functions to be written as a sum.
$endgroup$
– hardmath
Jan 2 at 4:16
$begingroup$
Would you give more details of how you found the integral of $f(x)g(x)$ on $[0,1]$? I'd expect the product of the two trig functions to be written as a sum.
$endgroup$
– hardmath
Jan 2 at 4:16
1
1
$begingroup$
I write $sin(kx) cos(7x)$ as $frac{1}{2} sin(k+7)x + frac{1}{2} sin(k-7)x$ first.
$endgroup$
– Agung Izzul Haq
Jan 2 at 4:28
$begingroup$
I write $sin(kx) cos(7x)$ as $frac{1}{2} sin(k+7)x + frac{1}{2} sin(k-7)x$ first.
$endgroup$
– Agung Izzul Haq
Jan 2 at 4:28
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
First of all, while integrating at one point you had to divide by both $kpm7$ when finding antiderivatives of $sin(kpm7)x$. Such division is undefined when $k=pm7$, so these two cases have to be considered separately. Integrating
$$int_0^1sin(pm7x)cos(7x),dx=pmint_0^1sin(7x)cos(7x),dx,$$
you will see that these integrals are not equal to zero.
Second, you made a slight mistake somewhere in your calculations, because the coefficient of $color{red}{28}$ is incorrect. The correct equation should be
$$k-kcos kcos7-color{magenta}{7}sin ksin7=0.$$
This is a transcendental equation, and I seriously doubt it can be solved for exact answers, where by "solving" I mean performing a sequence of steps to get to the roots of the equation. One root is easy to guess, though: $k=0$ clearly works. Are there any more?
Graphing the left-hand side or asking a numerical solver to find the roots, we'll see that there are no more integer roots, but four more real roots. For example, Mathematica input
NSolve[k - k Cos[k] Cos[7] - 7 Sin[k] Sin[7] == 0, k, Reals]
produces (remember that $k=pm7$ have been discarded for our purposes)
{{k -> -7.}, {k -> -6.891}, {k -> -2.29558}, {k -> 0.}, {k -> 2.29558}, {k -> 6.891}, {k -> 7.}}
but I'm honestly not sure how to prove manually that these are the only roots.
$endgroup$
1
$begingroup$
My mistake. Thanks for answering my question. But, is there another way to solve it, without using a software?
$endgroup$
– Agung Izzul Haq
Jan 2 at 8:55
$begingroup$
@AgungIzzulHaq: As I said in the end of my answer, I don't know for sure, but I seriously doubt that there's a way to solve it analytically.
$endgroup$
– zipirovich
Jan 2 at 15:15
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3059127%2fthe-value-of-k-such-that-two-vectors-are-orthogonal-in-integral-product-spaces%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
First of all, while integrating at one point you had to divide by both $kpm7$ when finding antiderivatives of $sin(kpm7)x$. Such division is undefined when $k=pm7$, so these two cases have to be considered separately. Integrating
$$int_0^1sin(pm7x)cos(7x),dx=pmint_0^1sin(7x)cos(7x),dx,$$
you will see that these integrals are not equal to zero.
Second, you made a slight mistake somewhere in your calculations, because the coefficient of $color{red}{28}$ is incorrect. The correct equation should be
$$k-kcos kcos7-color{magenta}{7}sin ksin7=0.$$
This is a transcendental equation, and I seriously doubt it can be solved for exact answers, where by "solving" I mean performing a sequence of steps to get to the roots of the equation. One root is easy to guess, though: $k=0$ clearly works. Are there any more?
Graphing the left-hand side or asking a numerical solver to find the roots, we'll see that there are no more integer roots, but four more real roots. For example, Mathematica input
NSolve[k - k Cos[k] Cos[7] - 7 Sin[k] Sin[7] == 0, k, Reals]
produces (remember that $k=pm7$ have been discarded for our purposes)
{{k -> -7.}, {k -> -6.891}, {k -> -2.29558}, {k -> 0.}, {k -> 2.29558}, {k -> 6.891}, {k -> 7.}}
but I'm honestly not sure how to prove manually that these are the only roots.
$endgroup$
1
$begingroup$
My mistake. Thanks for answering my question. But, is there another way to solve it, without using a software?
$endgroup$
– Agung Izzul Haq
Jan 2 at 8:55
$begingroup$
@AgungIzzulHaq: As I said in the end of my answer, I don't know for sure, but I seriously doubt that there's a way to solve it analytically.
$endgroup$
– zipirovich
Jan 2 at 15:15
add a comment |
$begingroup$
First of all, while integrating at one point you had to divide by both $kpm7$ when finding antiderivatives of $sin(kpm7)x$. Such division is undefined when $k=pm7$, so these two cases have to be considered separately. Integrating
$$int_0^1sin(pm7x)cos(7x),dx=pmint_0^1sin(7x)cos(7x),dx,$$
you will see that these integrals are not equal to zero.
Second, you made a slight mistake somewhere in your calculations, because the coefficient of $color{red}{28}$ is incorrect. The correct equation should be
$$k-kcos kcos7-color{magenta}{7}sin ksin7=0.$$
This is a transcendental equation, and I seriously doubt it can be solved for exact answers, where by "solving" I mean performing a sequence of steps to get to the roots of the equation. One root is easy to guess, though: $k=0$ clearly works. Are there any more?
Graphing the left-hand side or asking a numerical solver to find the roots, we'll see that there are no more integer roots, but four more real roots. For example, Mathematica input
NSolve[k - k Cos[k] Cos[7] - 7 Sin[k] Sin[7] == 0, k, Reals]
produces (remember that $k=pm7$ have been discarded for our purposes)
{{k -> -7.}, {k -> -6.891}, {k -> -2.29558}, {k -> 0.}, {k -> 2.29558}, {k -> 6.891}, {k -> 7.}}
but I'm honestly not sure how to prove manually that these are the only roots.
$endgroup$
1
$begingroup$
My mistake. Thanks for answering my question. But, is there another way to solve it, without using a software?
$endgroup$
– Agung Izzul Haq
Jan 2 at 8:55
$begingroup$
@AgungIzzulHaq: As I said in the end of my answer, I don't know for sure, but I seriously doubt that there's a way to solve it analytically.
$endgroup$
– zipirovich
Jan 2 at 15:15
add a comment |
$begingroup$
First of all, while integrating at one point you had to divide by both $kpm7$ when finding antiderivatives of $sin(kpm7)x$. Such division is undefined when $k=pm7$, so these two cases have to be considered separately. Integrating
$$int_0^1sin(pm7x)cos(7x),dx=pmint_0^1sin(7x)cos(7x),dx,$$
you will see that these integrals are not equal to zero.
Second, you made a slight mistake somewhere in your calculations, because the coefficient of $color{red}{28}$ is incorrect. The correct equation should be
$$k-kcos kcos7-color{magenta}{7}sin ksin7=0.$$
This is a transcendental equation, and I seriously doubt it can be solved for exact answers, where by "solving" I mean performing a sequence of steps to get to the roots of the equation. One root is easy to guess, though: $k=0$ clearly works. Are there any more?
Graphing the left-hand side or asking a numerical solver to find the roots, we'll see that there are no more integer roots, but four more real roots. For example, Mathematica input
NSolve[k - k Cos[k] Cos[7] - 7 Sin[k] Sin[7] == 0, k, Reals]
produces (remember that $k=pm7$ have been discarded for our purposes)
{{k -> -7.}, {k -> -6.891}, {k -> -2.29558}, {k -> 0.}, {k -> 2.29558}, {k -> 6.891}, {k -> 7.}}
but I'm honestly not sure how to prove manually that these are the only roots.
$endgroup$
First of all, while integrating at one point you had to divide by both $kpm7$ when finding antiderivatives of $sin(kpm7)x$. Such division is undefined when $k=pm7$, so these two cases have to be considered separately. Integrating
$$int_0^1sin(pm7x)cos(7x),dx=pmint_0^1sin(7x)cos(7x),dx,$$
you will see that these integrals are not equal to zero.
Second, you made a slight mistake somewhere in your calculations, because the coefficient of $color{red}{28}$ is incorrect. The correct equation should be
$$k-kcos kcos7-color{magenta}{7}sin ksin7=0.$$
This is a transcendental equation, and I seriously doubt it can be solved for exact answers, where by "solving" I mean performing a sequence of steps to get to the roots of the equation. One root is easy to guess, though: $k=0$ clearly works. Are there any more?
Graphing the left-hand side or asking a numerical solver to find the roots, we'll see that there are no more integer roots, but four more real roots. For example, Mathematica input
NSolve[k - k Cos[k] Cos[7] - 7 Sin[k] Sin[7] == 0, k, Reals]
produces (remember that $k=pm7$ have been discarded for our purposes)
{{k -> -7.}, {k -> -6.891}, {k -> -2.29558}, {k -> 0.}, {k -> 2.29558}, {k -> 6.891}, {k -> 7.}}
but I'm honestly not sure how to prove manually that these are the only roots.
answered Jan 2 at 6:01
zipirovichzipirovich
11.4k11731
11.4k11731
1
$begingroup$
My mistake. Thanks for answering my question. But, is there another way to solve it, without using a software?
$endgroup$
– Agung Izzul Haq
Jan 2 at 8:55
$begingroup$
@AgungIzzulHaq: As I said in the end of my answer, I don't know for sure, but I seriously doubt that there's a way to solve it analytically.
$endgroup$
– zipirovich
Jan 2 at 15:15
add a comment |
1
$begingroup$
My mistake. Thanks for answering my question. But, is there another way to solve it, without using a software?
$endgroup$
– Agung Izzul Haq
Jan 2 at 8:55
$begingroup$
@AgungIzzulHaq: As I said in the end of my answer, I don't know for sure, but I seriously doubt that there's a way to solve it analytically.
$endgroup$
– zipirovich
Jan 2 at 15:15
1
1
$begingroup$
My mistake. Thanks for answering my question. But, is there another way to solve it, without using a software?
$endgroup$
– Agung Izzul Haq
Jan 2 at 8:55
$begingroup$
My mistake. Thanks for answering my question. But, is there another way to solve it, without using a software?
$endgroup$
– Agung Izzul Haq
Jan 2 at 8:55
$begingroup$
@AgungIzzulHaq: As I said in the end of my answer, I don't know for sure, but I seriously doubt that there's a way to solve it analytically.
$endgroup$
– zipirovich
Jan 2 at 15:15
$begingroup$
@AgungIzzulHaq: As I said in the end of my answer, I don't know for sure, but I seriously doubt that there's a way to solve it analytically.
$endgroup$
– zipirovich
Jan 2 at 15:15
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3059127%2fthe-value-of-k-such-that-two-vectors-are-orthogonal-in-integral-product-spaces%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
Would you give more details of how you found the integral of $f(x)g(x)$ on $[0,1]$? I'd expect the product of the two trig functions to be written as a sum.
$endgroup$
– hardmath
Jan 2 at 4:16
1
$begingroup$
I write $sin(kx) cos(7x)$ as $frac{1}{2} sin(k+7)x + frac{1}{2} sin(k-7)x$ first.
$endgroup$
– Agung Izzul Haq
Jan 2 at 4:28