Find the coordinates of the expression

In summary: However, if you want to use matrices, you can think of the basis elements as column vectors and form a 7x7 matrix. Then you can multiply the matrix by the column vector corresponding to (cos x + sin x)^3 to obtain the coordinates.Glad I could help!
  • #1
Logan Land
84
0
Find the coordinates of the expression (cos x + sin x)^3 in the basis {1, sin x, cos x, sin 2x, cos 2x, sin3x, cos3x}.

I don't understand where to start since I am dealing with cos and sin now. :confused:
 
Physics news on Phys.org
  • #2
LLand314 said:
Find the coordinates of the expression (cos x + sin x)^3 in the basis {1, sin x, cos x, sin 2x, cos 2x, sin3x, cos3x}.

I don't understand where to start since I am dealing with cos and sin now. :confused:
Okay, I'm going to write this out the easy way because I know darned well that anyone doing this problem is not going to ignore your calculator's ability to do integrations.

Given a (discrete) basis B, and calling the basis elements \(\displaystyle b_n(x)\) we can say the following:
\(\displaystyle ( cos(x) + sin(x) )^3 = \sum_{n = 1}^{dim(B)} \frac{1}{\pi} \cdot b_n(x) \int_{0}^{2 \pi} (cos(x) + sin(x))^3 \cdot b_n(x)~dx\)

Find the integrals for each basis element. This is why you want the calculator...it's a messy time consuming task. You can guess at some of the coefficients, but it really does take a while.

Can you finish from here?
(Ans. \(\displaystyle (cos(x) + sin(x))^3 = \frac{3}{2}sin(x) + \frac{1}{2} sin(3x) + \frac{3}{2} cos(x) - \frac{1}{2} cos(3x)\))

-Dan
 
  • #3
LLand314 said:
Find the coordinates of the expression (cos x + sin x)^3 in the basis {1, sin x, cos x, sin 2x, cos 2x, sin3x, cos3x}.

I don't understand where to start since I am dealing with cos and sin now. :confused:

Here's what I suggest. Using the sine addition formula, we can write

\(\displaystyle \cos x + \sin x = \sqrt{2}\left(\cos x \cdot \frac{1}{\sqrt{2}} + \sin x \cdot \frac{1}{\sqrt{2}}\right) = \sqrt{2}\sin\Bigl(x + \frac{\pi}{4}\Bigr).\)

Thus

\(\displaystyle (\cos x + \sin x)^3 = 2^{3/2}\sin^3\Bigl(x + \frac{\pi}{4}\Bigr).\)

Using the power-reduction formula

\(\displaystyle \sin^3 u = \frac{3}{4}\sin u - \frac{1}{4}\sin 3u,\)

we find

\(\displaystyle (\cos x + \sin x)^3 \)

\(\displaystyle = 2^{3/2}\left\{\frac{3}{4}\sin\Bigl(x + \frac{\pi}{4}\Bigr) - \frac{1}{4}\sin\Bigl(3x + \frac{3\pi}{4}\Bigr)\right\}\)

\(\displaystyle = \frac{1}{2}\left\{3\sqrt{2}\sin\Bigl(x + \frac{\pi}{4}\Bigr) - \sqrt{2}\sin\Bigl(3x + \frac{3\pi}{4}\Bigr)\right\}\)

\(\displaystyle = \frac{1}{2}[3(\sin x + \cos x) - (-\sin 3x + \cos 3x)]\)

\(\displaystyle = \frac{1}{2}(3\sin x + 3\cos x + \sin 3x - \cos 3x)\)

\(\displaystyle = \frac{3}{2}\sin x + \frac{3}{2}\cos x + \frac{1}{2}\sin 3x - \frac{1}{2}\cos 3x.\)
 
Last edited:
  • #4
Euge said:
Here's what I suggest. Using the sine addition formula, we can write

\(\displaystyle \cos x + \sin x = \sqrt{2}\left(\cos x \cdot \frac{1}{\sqrt{2}} + \sin x \cdot \frac{1}{2}\right) = \sqrt{2}\sin\Bigl(x + \frac{\pi}{4}\Bigr).\)

Thus

\(\displaystyle (\cos x + \sin x)^3 = 2^{3/2}\sin^3\Bigl(x + \frac{\pi}{4}\Bigr).\)

Using the power-reduction formula

\(\displaystyle \sin^3 u = \frac{3}{4}\sin u - \frac{1}{4}\sin 3u,\)

we find

\(\displaystyle (\cos x + \sin x)^3 \)

\(\displaystyle = 2^{3/2}\left\{\frac{3}{4}\sin\Bigl(x + \frac{\pi}{4}\Bigr) - \frac{1}{4}\sin\Bigl(3x + \frac{3\pi}{4}\Bigr)\right\}\)

\(\displaystyle = \frac{1}{2}\left\{3\sqrt{2}\sin\Bigl(x + \frac{\pi}{4}\Bigr) - \sqrt{2}\sin\Bigl(3x + \frac{3\pi}{4}\Bigr)\right\}\)

\(\displaystyle = \frac{1}{2}[3(\sin x + \cos x) - (-\sin 3x + \cos 3x)]\)

\(\displaystyle = \frac{1}{2}(3\sin x + 3\cos x + \sin 3x - \cos 3x)\)

\(\displaystyle = \frac{3}{2}\sin x + \frac{3}{2}\cos x + \frac{1}{2}\sin 3x - \frac{1}{2}\cos 3x.\)

so this problem like the other one you helped me with we wouldn't want to use some sort of matrix form to solve? I see how you came to your conclusion but every time in class our teacher gives some sort of way to solve using matrices. She just never gave us an example with cos and sin.

Thanks so much for your help!
 
  • #5
LLand314 said:
so this problem like the other one you helped me with we wouldn't want to use some sort of matrix form to solve? I see how you came to your conclusion but every time in class our teacher gives some sort of way to solve using matrices. She just never gave us an example with cos and sin.

Thanks so much for your help!

Even if you try to use a matrix form, you will still need power-reductions.
 

FAQ: Find the coordinates of the expression

How do I find the coordinates of an expression?

To find the coordinates of an expression, you need to first determine the variables involved in the expression. Then, you can plug in different values for the variables and solve the expression. The resulting values will be the coordinates of the expression.

Can I use any values for the variables when finding coordinates?

Yes, you can use any values for the variables as long as they are within the domain of the expression. It is recommended to use a variety of values to get a better understanding of the behavior of the expression.

What do the coordinates of an expression represent?

The coordinates of an expression represent the output (y-value) of the expression at a specific input (x-value). They can also be thought of as points on a graph where the x-value is the independent variable and the y-value is the dependent variable.

Is finding the coordinates of an expression the same as graphing it?

No, finding the coordinates of an expression involves solving the expression for different values of the variables. Graphing, on the other hand, involves plotting the coordinates on a graph to visualize the behavior of the expression.

How can I check if my calculated coordinates are correct?

You can check if your calculated coordinates are correct by plugging them back into the expression and verifying that they produce the expected output. You can also use a graphing calculator or online graphing tool to plot the coordinates and see if they match the expected graph of the expression.

Similar threads

Replies
1
Views
741
Replies
7
Views
388
Replies
4
Views
1K
Replies
7
Views
657
Replies
3
Views
952
Back
Top