# Differential equation proof

## Homework Statement

Given a function g(t)=acosωt + bsinωt, where a and b are constants, show that g(t) is the real part of the complex function: keeiωt for some k and Φ
Remark: the complex expression ke is called a phasor. If we know that g(t) has the form kcos(ωt+Φ) then we need know only the constants k and Φ-the amplitude and the phase- to know the function g. Hence we can use the phasor ke as a notation for the function g(t)=keeiωt

## Homework Equations

Euler's formula eiωt= cosωt +isinωt

## The Attempt at a Solution

Not really sure where to start here except for expanding using euler;s as the first step. any help would be greatly appreciated.

haruspex
Homework Helper
Gold Member
Not really sure where to start here except for expanding using euler;s as the first step.
So do that, for both exponential terms.

okay so then I get k(cosΦt +isinΦt)(cosωt+isinωt)
but what should this be equal too?

haruspex
Homework Helper
Gold Member
okay so then I get k(cosΦt +isinΦt)(cosωt+isinωt)
but what should this be equal too?
How do you get φt terms?

umm I'm not sure. I didn't know we would be using that symbol. What does φ represent?

haruspex
Homework Helper
Gold Member
umm I'm not sure. I didn't know we would be using that symbol. What does φ represent?
It is a constant. You need to find the values of k and φ which make the real part match g().

haruspex
Homework Helper
Gold Member
umm I'm not sure. I didn't know we would be using that symbol. What does φ represent?
I think perhaps you did not understand my question. In your post #3, you had terms like sin(φt). I don't understand how you got those. Please post your working.

Sorry I'm kind of lost. Where did φ come from?

In my third post I only haveΦ k ω and t

no φ

haruspex
Homework Helper
Gold Member
no φ
Looks like a font issue. Are you saying Φ and φ look very different to you? In the font that comes up on my iPad they are almost the same, so I may have used the wrong one.

yes they look very different. I think thats where the confusion was.

haruspex
Homework Helper
Gold Member
yes they look very different. I think thats where the confusion was.

But in regards to your earlier quastion. I used euler's formula to obtain sin(Φt) eiΦt=cosΦt +isin(Φt)
right?

that sin (Φt) is not apart of that calculation

haruspex
Homework Helper
Gold Member
But in regards to your earlier quastion. I used euler's formula to obtain sin(Φt) eiΦt=cosΦt +isin(Φt)
right?
According to your initial post, it is e, not eiφt.

oops, my mistake, than diregard the t's

haruspex
Homework Helper
Gold Member
oops, my mistake, than diregard the t's
Ok. So multiply out the corrected version of the expression in your post #3.

k(cosΦ +isinΦ)(cosω+isinω)

haruspex
Homework Helper
Gold Member
k(cosΦ +isinΦ)(cosω+isinω)
No, the other exponential term does have a t factor: eiωt.

k(cosΦ +isinΦ)(cosωt+isinωt)

haruspex
Homework Helper
Gold Member
k(cosΦ +isinΦ)(cosωt+isinωt)
Right. Now multiply out.

kcosΦcosωt +kisinΦcosωt + kisinωtcosΦ -ksinΦsinωt

haruspex
Homework Helper
Gold Member
kcosΦcosωt +kisinΦcosωt + kisinωtcosΦ -ksinΦsinωt
Right. What part of that is relevant in this question?

The part that does not have i's in them? the real parts

haruspex
Homework Helper
Gold Member
The part that does not have i's in them? the real parts
Yes. What values of k and φ make the real part match g?

i'm not sure I want to say 0 or π/2 for Φ but that doesnt seem right.

haruspex
Homework Helper
Gold Member
i'm not sure I want to say 0 or π/2 for Φ but that doesnt seem right.
Remember that t is a variable, so the functions are to produce the same value for every value of t. This means that the cos(ωt) term must look the sameinboth functions, and the sin term must look the same too. That givesyou two equations for the coefficients.

well if I equate this to g(t)=acosωt+bsinωt than I would get Φ=π/2 and b for the sin's and Φ=0 and a for the cos's or is my algebra wrong on this?

haruspex
Homework Helper
Gold Member
ωT)
well if I equate this to g(t)=acosωt+bsinωt than I would get Φ=π/2 and b for the sin's and Φ=0 and a for the cos's or is my algebra wrong on this?
Compare the expression for g with the real part of the complex expression in post #23. Look at the two cos(ωt) terms. If they are to be exactly the same, they must have the same coefficient. That gives you an equation relating a and b to k and φ. Do the same with the two sin(ωt) terms.

sorry I am pretty lost here, do you mind working it out for me?

haruspex