kreut — 2011-04-20T15:36:02-04:00 — #1
I've been using Keith Wood's fantastic SVG Jquery plug in for a math application and it suits almost all of my needs to plot mathematical functions. One thing that I need, which I'm not sure if it can do, however, is to create functions of y instead of functions of x; in particular within the plotting mechanism, I'd like to be able plot "x=3" or "x=5" (vertical lines). Any help would be appreciated.
paul_wilkins — 2011-04-20T20:57:11-04:00 — #2
You can use Wolfram|Alpha: Computational Knowledge Engine for that.
If you have for example: y = x^3-1
you can put in "inverse x^3-1" to get the appropriate formula, which is the third root of (x + 1) which is (x + 1)^(1/3)
So, switching the variables, we have:
y = x^3 - 1
x = (y + 1)^(1/3)
kreut — 2011-04-20T21:20:07-04:00 — #3
Thanks for the quick reply! I'm actually not trying to figure out how to compute the inverse of a function (with this much, I'm set!). What I'd like to do is to be able to sketch functions of y as opposed to functions of x.
For example, x=y^2 isn't a function of x since each x is associated with two different y values: (1,1) and (1,-1). In addition, I'd love to be able to sketch an equation such as x=4, which is a vertical line (again...sorry if I don't know how much of a math background you have!) but again, not a function of x since each x has an infinite number of y's associated with it.
Anyway, I appreciate that this is a bit of a "mathy specific" question so if there's isn't an "easy" solution out there, I'd very much understand. However, any other thoughts would be appreciated.
paul_wilkins — 2011-04-20T21:25:30-04:00 — #4
That sounds like something that Mathematica is capable of doing, which also supports SVG for the web.
You might find though that only the really big players are capable of performing the types of inverse functions that you require.
kreut — 2011-04-20T21:57:23-04:00 — #5
Thanks for giving this problem some thought.
paul_wilkins — 2011-04-20T22:04:27-04:00 — #6
That reminds me of something I saw recently.
[Khan Academy started with video tutorials, but they now provide web-based learning of a [url="http://www.khanacademy.org/exercisedashboard"]wide range of math-based topics](http://www.khanacademy.org/).
For example, inverse functions where you can also turn on a scratchpad to write your workings and notes.
Here's some info about how they [benefit students and teachers too. I know that many schools in the US are using them, and there's even a [url="http://www.khanacademy.org/video/salman-khan-talk-at-ted-2011--from-ted-com?playlist=Khan%20Academy-Related%20Talks%20and%20Interviews"]TED presentation with Bill Gates](http://www.khanacademy.org/about) about them. So, are resources such as that worth considering?
kreut — 2011-04-20T22:11:28-04:00 — #7
I checked out a bunch of the links and they definitely give me some ideas and some things to think about. Thanks so much.
PS Love the TED talks!