Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: how to define and analyze function with multiple parts
Replies: 1   Last Post: Apr 20, 2013 5:54 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
David Park

Posts: 1,560
Registered: 5/19/07
Re: how to define and analyze function with multiple parts
Posted: Apr 20, 2013 5:54 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

You could try Piecewise and make certain you know proper Mathematica syntax.


A more specific and complete posting might give rise to a more complete
answer.


David Park
djmpark@comcast.net
http://home.comcast.net/~djmpark/index.html



From: pjanakir1978@gmail.com [mailto:pjanakir1978@gmail.com]

Hi, I have a function on the plane that has 2 different formulation for 2
different regions. Let x = (x1, ..., xn). I want to define it as

U(x) = U_1(x) if x is in region 1
= U_2(x) if x is in region 2

Then I want to analyze such a defined function, like find its max, etc,
using NMaximize, or put in some other expressions in place of x, to see
behavior of U.

Essentially, how does one define a multipart function, so that we can
analyze it in the same way we may analyze a single part function or
polynomial?

Thanks.

Prabhu





Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.