[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

How do I avoid losing solutions from a non-linear system like

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 32
Thread images: 2

File: Input_2.gif (7KB, 1173x68px) Image search: [Google]
Input_2.gif
7KB, 1173x68px
How do I avoid losing solutions from a non-linear system like this one? What should I do?

I already solved it, but I almost miss it, I'm afraid I'll get more problems like this one in the future

Would appreciate some book recommendations about this topic.
>>
khan academy
you also get a free colour blindness test
>>
>>8285986
Most of the time you just reason it out.

In this case, it's the line x=y.
>>
>>8285986
You have to use non-linear algebra. Scmoodleberg and Bloch is the classic reference.
>>
>>8286059
Scmoodleberg?
>>
Linearize it via Taylor expansion
>>
>>8286210
I didn't now I could do that with the Taylor expansión, thanks I'll learn it.
>>
>>8286015
It is not line x=y.

>>8285986
When you replace system1 with system2 always prove they have the same set of solutions.
{cos(x)+cos(x+y)=0,cos(y)+cos(x+y)=0} =>
{cos(x)+cos(x)cos(y)-sin(x)sin(y)=0,cos(y)+cos(x)cos(y)-sin(x)sin(y)=0}=>
{cos(x)(1+cos(y))=sin(x)sin(y),cos(y)(1+cos(x))=sin(x)sin(y)}
From this follows cos(x)(1+cos(y))=cos(y)(1+cos(x)) => cos(x)=cos(y). So we can add and apply this condition to the original system without changing solution set:
{cos(x)=cos(y),cos(x)(1+cos(x))=sin(x)sin(y),cos(x)(1+cos(x))=sin(x)sin(y)}=>
{cos(x)=cos(y),cos(x)+cos(x)^2=sin(x)sin(y)}=>
{cos(x)=cos(y),cos(x)+cos(x)cos(y)-sin(x)sin(y)=0}=>
{cos(x)=cos(y),cos(x)+cos(x+y)=0}
So here we are. cos(x)=cos(y) condition has solutions x+y=2pi*N, cos(x)=cos(x+y+pi) has solutions 2x+y+pi=2pi*M. With the first condition this means x+pi=2pi*M. So the final set of solutions is x=-pi+2pi M, y = 2pi*N - x. for any integers N and M.
>>
File: overcomplicating.gif (166KB, 1402x1433px) Image search: [Google]
overcomplicating.gif
166KB, 1402x1433px
>>8286310
>all that manipulation
pic related

also
>cos(x)=cos(y) condition has solutions x+y=2pi*N
is wrong, should be x +/- y, similarly for the next statement.
>>
>>8286350
It isn't wrong for obvious reasons.
-pi is -2pi + pi.

I'm not overcomplicating I'm just being extra in detail
>>
>>8286350
Ah, you mean it should be x-y too. Yes, my bad. :(
>>
>>8286350
And can you show me a better solution if you think I'm overcomplicating?
>>
>>8286414
The same thing you wrote but remove all the obviously superfluous steps where you rewrite cos(x+y) in various ways only to end up with cos(x+y) at the end.
>>
>>8285986
You can't always. Not every system has closed-form, analytic solutions.

In cases like this though you need to pay attention to the domains and ranges of the functions you use, that's it.

There's no general method though.

>>8286414
Mathematica
>>
>>8286310
That's only a partial set of solutions.

Cosx - siny = 0
Implies x = y
This should be obvious.

Take pi/3 for example:

.5 - .5 = 0
Satisfies the equations, but is not possible in your solution set.

Applying arbitrary transformations can give you tunnel vision. You're better off visualizing the solutions in polynomial space.
>>
>>8286414
>>8286418
I mean, I understand making those manipulations when you're exploring the problem, but clean up before you post.
>>
>>8286421
Don't forget function parity mate
>>
>>8286421
I made a typo.

Cos (x) + cos (x+y) = cos (y) + cos (x+y) implies cos (x) = cos (y)
Implies x = y
>>
>>8286414
>>8286418
>>8286425
To add to this: removing superfluous steps reduces your likelihood of error. You can check your work without your eyes glazing over.
>>
>>8286429
>Every function is a one to one function
You're either in highschool or an engineer.
>>
>>8286441
It obviously isn't, and I never said it was.

Either way, that other post was wrong because it won't provide all solutions.

The only thing he did was show that cos is an even function.
>>
>>8286464
Cos(x)=Cos(y) => x=y absolutely assumes Cos is one-to-one. That's what a one to one function is.

What you said is akin to
x^2 + a = y^2 + a implies x^2 = y^2 implies x=y except more egregious.
>>
>>8286471
Ohhh, I see.
You think I said that the function maps x to y.

That's not what I said or implied. Keep trying.
>>
>>8286478
Am I missing something? Serious question. As far as I can see you literally said
> cos (x) = cos (y)
> Implies x = y
>>
>>8286421
It is not set of solutions nor partial set of solutions.
take x=y=pi/2
cos(x)+cos(x+y)=cos(pi/2)+cos(pi/2 + pi/2)=0-1=-1. But it should've been zero.
>>
>>8286441
>not calling a ""one to one"" function injective
how's middle school?
>>
>>8286509
>You're better off visualizing the solutions in polynomial space.
What do you mean?
>>
>>8286421
>>8286513
>>
>>8286491
What I should have said is that the solutions will look like this:

let L be the set of all ordered pairs (x,y) where x,y belong to the reals R

let K be the set of all k such that -1 <= k <= 1

Then the solutions will be of the form
f(x,y): L -> K

It is common knowledge that trig functions aren't 1 to 1

It is common knowledge that the solution set for a system of equations is going to be an n tuple ordered pair.

I should have also said that
y = x + c and
y = -x + c

where c belongs to the reals are also solutions to the systems of equations. From there, you can parameterize c in terms of x and y to get back to the function f(x,y).

I didn't say any of this, because this is /sci and nobody gives a shit about technicalities.
>>
>>8286509
Eh, it's as much of a regional and field conventional thing I think, but I'm not sure because I don't really remember middle school You can certainly find academics still using the term though https://scholar.google.com/scholar?q=%22one-to-one+function%22&btnG=&hl=en&as_sdt=1%2C47

I'll agree it's not as nice of terminology, I've spent this summer teaching the intro to proofs class at my uni and I fell into the terminology we're used to using I guess.
>>
>>8286515
>>8286495
Also, I apologize for this.
I wrote quickly and didn't think of the exact values that would work.

http://m.wolframalpha.com/input/?i=cos(x%2By)%2Bcos(x)%3D0%2C+cos(x%2By)%2Bcos(y)%3D0&js=off

My whole point was that the solutions to this systems of equations are either going to fall on the line y = x, or y = -x.

The solutions plotted out show that.

>>8286310
Was also close, but did not finish the problem either.

I prefer going about it my way and finding an intersection between the line, and the solutions, vs. showing that the solution sets are the same, because I'm more prone to miss solutions than I am to delete non solutions.

It's really looking at two sides of the same coin.
>>
>>8286310
How does
cos(x)(1+cos(y))=cos(y)(1+cos(x))
immediately imply that cos(x)=cos(y)?
Thread posts: 32
Thread images: 2


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.