Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 124 125 [126] 127 128 ... 173

Author Topic: Mathematics Help Thread  (Read 228414 times)

Spehss _

  • Bay Watcher
  • full of stars
    • View Profile
Re: Mathematics Help Thread
« Reply #1875 on: September 28, 2015, 11:32:31 pm »

Since f'(x^2) = 2x, not 1x, it would seem that graphing is in fact necessary for you to grasp whatever it wants you to.
You got 2x from the equations to calculate f'(x), I'm assuming.

Guess I misunderstood what the graphs of f'(x) represent. Or something. Thought I had it figured out so the equations weren't necessary.
Logged
Steam ID: Spehss Cat
Turns out you can seriously not notice how deep into this shit you went until you get out.

Reelya

  • Bay Watcher
    • View Profile
Re: Mathematics Help Thread
« Reply #1876 on: September 29, 2015, 01:53:56 am »

you can calculate the point tangent by looking at two close-together points and working out the line between them. e.g. if you want the rate of change at x=1, work out the slope of the line from x= 0.99 to x = 1.01, you get the idea. Then you make a table of the slopes at multiple points, e.g. x=1, x=2, x=3,x=4, and you infer the relationship.

So, for example, you work out x^2 at 0.99 and 1.01, then work out how fast that increases in relation to x, i.e. (1.01^2-0.99^2)/0.02, there's your point tangent (aka the derivative). Then repeat that process for points close to 2.0, 3.0, 4.0 etc. The derivative at a point is the limit of those little lines (dy/dx) as the length of dx approaches zero.
« Last Edit: September 29, 2015, 02:00:15 am by Reelya »
Logged

Spehss _

  • Bay Watcher
  • full of stars
    • View Profile
Re: Mathematics Help Thread
« Reply #1877 on: September 29, 2015, 11:02:44 am »

My calculus textbook says that both lim(x->a)((f(x)-f(a))/(x-a) = f'(x) and lim(h->0)((f(x+h)-f(x))/h) = f'(x)

So I could use either lim(x->a)((f(x)-f(a))/(x-a) or lim(h->0)((f(x+h)-f(x))/h) to calculate f'(x) and I should get the same result, right?
Logged
Steam ID: Spehss Cat
Turns out you can seriously not notice how deep into this shit you went until you get out.

frostshotgg

  • Bay Watcher
  • It was a ruse
    • View Profile
Re: Mathematics Help Thread
« Reply #1878 on: September 29, 2015, 11:22:20 am »

Yes. One of them is a rewritten version of the other. Generally speaking the h->0 is easier to use, because you should have all the h's in the top factor out and cancel with the bottom one so there's no 0s.
Logged

Arx

  • Bay Watcher
  • Iron within, iron without.
    • View Profile
    • Art!
Re: Mathematics Help Thread
« Reply #1879 on: September 29, 2015, 11:47:16 am »

Generally speaking the h->0 is easier to use, because you should have all the h's in the top factor out and cancel with the bottom one so there's no 0s.

Eeh. Not really. It happens sometimes, though, I'll grant you.
Logged

I am on Discord as Arx#2415.
Hail to the mind of man! / Fire in the sky
I've been waiting for you / On this day we die.

Spehss _

  • Bay Watcher
  • full of stars
    • View Profile
Re: Mathematics Help Thread
« Reply #1880 on: September 29, 2015, 12:11:36 pm »

I was asking since solving f(x)=x^4 for f'(x) while using the h>0 method involves factoring (or whatever the term is) (x+h)^4 which is a pain in the butt and x->a seemed easier.

Went ahead and used both methods though and got two separate answers (x^3-a^3 and 4x^3). Pretty sure I did the x->a method wrong so I guess I'll stick with h->0.
Logged
Steam ID: Spehss Cat
Turns out you can seriously not notice how deep into this shit you went until you get out.

MagmaMcFry

  • Bay Watcher
  • [EXISTS]
    • View Profile
Re: Mathematics Help Thread
« Reply #1881 on: September 29, 2015, 12:19:49 pm »

I was asking since solving f(x)=x^4 for f'(x) while using the h>0 method involves factoring (or whatever the term is) (x+h)^4 which is a pain in the butt and x->a seemed easier.

Went ahead and used both methods though and got two separate answers (x^3-a^3 and 4x^3). Pretty sure I did the x->a method wrong so I guess I'll stick with h->0.
Yeah, you canceled out things you shouldn't have: (x4-a4)/(x-a) is NOT x³-a³, but actually x³+ax²+a²x+a³. Also you forgot to take the limit: The limit of x³+ax²+a²x+a³ as a approaches x is obviously x³+xx²+x²x+x³ = 4x³.
Logged

Arx

  • Bay Watcher
  • Iron within, iron without.
    • View Profile
    • Art!
Re: Mathematics Help Thread
« Reply #1882 on: September 29, 2015, 12:43:13 pm »

I don't suggest using this as an answer until you officially 'learn' it, but in general the derivative of a term axn will be anxn-1. It makes it quick and easy to check answers you get from first principles.
Logged

I am on Discord as Arx#2415.
Hail to the mind of man! / Fire in the sky
I've been waiting for you / On this day we die.

frostshotgg

  • Bay Watcher
  • It was a ruse
    • View Profile
Re: Mathematics Help Thread
« Reply #1883 on: September 29, 2015, 12:53:10 pm »

I was asking since solving f(x)=x^4 for f'(x) while using the h>0 method involves factoring (or whatever the term is) (x+h)^4 which is a pain in the butt and x->a seemed easier.

Went ahead and used both methods though and got two separate answers (x^3-a^3 and 4x^3). Pretty sure I did the x->a method wrong so I guess I'll stick with h->0.
You won't be using the limit definition for very long. The point is to demonstrate where it comes from. Pretty soon you'll learn rules like the one Arx mentioned.
Logged

Reelya

  • Bay Watcher
    • View Profile
Re: Mathematics Help Thread
« Reply #1884 on: September 29, 2015, 03:31:03 pm »

My calculus textbook says that both lim(x->a)((f(x)-f(a))/(x-a) = f'(x) and lim(h->0)((f(x+h)-f(x))/h) = f'(x)

So I could use either lim(x->a)((f(x)-f(a))/(x-a) or lim(h->0)((f(x+h)-f(x))/h) to calculate f'(x) and I should get the same result, right?
They're exactly the same thing. Just set a=x-h and one turns into the other.

~~~

Yeah, and factoring polynomials doesn't work like that.

(x^4-a^4)/(x-a) does not equal x^3 - a^3, and it's easy to demonstrate this fact, as reversing that should give the original answer:

(x^3 - a^3) * (x-a) does not equal (x^4 - a^4) when you do an expansion.

Division of polynomials seems like "magic" when you first see the results, I'm guessing you have no idea how you'd go about that. It just seems like you need to memorize the results and just trust they are correct and worked out by previous generations of genius mathematicians. Luckily, it's a lot more simple, but it was never taught to me in class or at college.

Polynomial long division is one way to divide arbitrary polynomials by other arbitrary polynomials. The principles are identical to regular long division, except you use "base x" instead of "base 10". e.g. you need to eliminate the highest power of x on each round, then add those to your final divisor.

First, since x-a has one power of x, and x^4-^4 has 4 powers of x, the (x-a) must be multiplied by x^3 to match the highest term. x^3(x-a) = x^4 - ax^3. Subtract this result from the original polynomial, then add the x^3 factor to your final answer:

x^4 - a^4 - (x^4 - ax^3) = ax^3 - a^4 remainder, with (x^3) times (x-a) taken out.

At this stage it would be perfectly legitimate to write (x^4-a^4)/(x-a) = x^3 + (ax^3 - a^4)/(x-a), which shows how this process works in terms of normal algebra. It's just regrouping the top of the fraction into parts divisible by (x-a) and them eliminating (x-a)/(x-a) for those sections until there's nothing left above a fraction. But to keep it simple, you don't write out the "full equation" each time, you just write out the remainder part that you need to factor next. So we take the remainder (ax^3 - a^4)/(x-a) and do the same process for that as we did for the original fraction

Now, the higest term of x = ax^3, so multiply (x-a) by ax^2 to eliminate the higest term (x-a)*ax^2 = (ax^3 - a^2x^2)

ax^3 - a^4 - (ax^3 - a^2x^2) = a^2x^2 - a^4 remainder, with (x^3 + ax^2) times (x-a) taken out

To eliminate a^2x^2, that's (x-a) times a^2x, i.e. subtract (a^2x^2 - a^3x) :

a^2x^2 - a^4 - (a^2x^2 - a^3x) = a^3x - a^4 remainder, with (x^3 + ax^2  + a^2x) times (x-a) taken out

The final term of x is a^3x, so take out a^3 times (x-a) = (a^3x - a^4)

a^3x - a^4 - (a^3x - a^4), which leaves zero remainder and the job is done.

Now, you take all the factors of (x-a) you needed to remove and add them together, and that's your answer

(x^4-a^4)/(x-a) = (x^3 + ax^2  + a^2x + a^3)

Presto, division of arbitrary polynomials from basic algebraic principles.
« Last Edit: September 29, 2015, 04:37:27 pm by Reelya »
Logged

RoguelikeRazuka

  • Bay Watcher
    • View Profile
Re: Mathematics Help Thread
« Reply #1885 on: October 02, 2015, 03:23:51 pm »

Hey where do I start from if I want to get good at mathematics? I had some calculus, numerical analysis, mathematical physics and functional analysis at university (one term for each of the subjects but calculus), but there was too little time for comprehending either of those subjects (to be honest, I wasn't much hardworking at that point anyway). Now I feel how my mind is increasingly fading away, so it maybe it's already too late for getting smarter (I'm currently 20 y/o)?
« Last Edit: October 02, 2015, 03:37:13 pm by RoguelikeRazuka »
Logged

Helgoland

  • Bay Watcher
  • No man is an island.
    • View Profile
Re: Mathematics Help Thread
« Reply #1886 on: October 02, 2015, 05:22:08 pm »

Dude, I'm twenty as well and only just starting on the really harcore mathematics :P

I guess you can't 'get good at maths' in that generality. Do you have any concrete applications in mind, or are you interested in the subject abstractly? If the latter, go look into topology - it's a very fun field, especially if you're looking for something a bit more wacky than the 'standard' stuff like algebra or calculus. Start out with point-set topology - all the other kinds build on that. Get a feeling for homotopy equivalences, homeomorphisms, maybe the Euler characteristic and the concept of coverings... Give special attention to the more strange spaces often used as counterexamples, such as the Hawaiian earrings! Those are great fun, and once you've really grasped what makes them special, you know you've gained quite a bit of deeper understanding.
Logged
The Bay12 postcard club
Arguably he's already a progressive, just one in the style of an enlightened Kaiser.
I'm going to do the smart thing here and disengage. This isn't a hill I paticularly care to die on.

MagmaMcFry

  • Bay Watcher
  • [EXISTS]
    • View Profile
Re: Mathematics Help Thread
« Reply #1887 on: October 02, 2015, 05:46:32 pm »

If on the other hand you are interested in raw problem solving skills, maybe try stimulating your brain in ways that rewards it when it has a clever idea? What I'm trying to say here is puzzle games. I recommend Portal 2 and Infinifactory for this purpose (I also recommend those games in general). They have great content out of the box, but they also have Steam workshops crammed full of additional, challenging content.

For a more general problem solving experience, you could visit for example this site. It's basically a place to share all kinds of puzzles, logical, mathematical, or otherwise. You can try your hand at those sometime.
Logged

Spehss _

  • Bay Watcher
  • full of stars
    • View Profile
Re: Mathematics Help Thread
« Reply #1888 on: October 10, 2015, 02:53:20 pm »

The derivative of e^(x) is e^(x). Does this apply to any constant^(x) or just the constant e?

Like, would derivative of 2^(x) be 2^(x)?
Logged
Steam ID: Spehss Cat
Turns out you can seriously not notice how deep into this shit you went until you get out.

crazysheep

  • Bay Watcher
  • [PREFSTRING:fluffy wool]
    • View Profile
Re: Mathematics Help Thread
« Reply #1889 on: October 10, 2015, 02:56:13 pm »

That derivative only applies to the constant e.
Logged
"Don't be in such a hurry to grow up, for there's nothing a kid can't do."
Pages: 1 ... 124 125 [126] 127 128 ... 173