Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6117681
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T15:20:55+00:00 2026-05-23T15:20:55+00:00

I had tried the code below in Mathematica 8: f[z_] := (5 + 1/(z-a))

  • 0

I had tried the code below in Mathematica 8:

f[z_] := (5 + 1/(z-a)) / ( 8 + 1/(z-a))

f[a]

and surprisingly I got following warnings:

Power::infy: Infinite expression 1/0 encountered. >>
Power::infy: Infinite expression 1/0 encountered. >>
Infinity::indet: Indeterminate expression 0 ComplexInfinity encountered. >

and the output is Indeterminate, which I think is not true because obviously it’s 1.

What’s weird is that when I changed the code to:

Simplify[(5 + 1/(z-a)) / ( 8 + 1/(z-a))] /. a -> z

I got the correct output 1. Why is that? And how should I deal with expressions involving ∞/∞ ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T15:20:56+00:00Added an answer on May 23, 2026 at 3:20 pm

    Usually:

    Limit[(5 + 1/(z - a))/(8 + 1/(z - a)), z -> a]
    (*
    -> 1
    *)
    

    Edit

    You may also add a Direction option to take the limit coming from either side if necessary:

    Limit[(5 + 1/(z - a))/(8 + 1/(z - a)), z -> a, Direction -> 1]
    

    or

    Limit[(5 + 1/(z - a))/(8 + 1/(z - a)), z -> a, Direction -> -1]
    

    Edit 2

    The weird behavior of Simplify[ ] (allowing some mathematically indefinite expressions to evaluate) is well documented in the help:

    enter image description here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Update for code: Following on Matthew's answer I tried correcting my code to be
In SSIS,I had tried to deploy a package, which is for importing data from
I had never tried Continuum as a build server until recently when a project
I had more database and I tried to make backup for them but they
Has anyone ever tried, or had any success at getting Wascana (Eclipse CDT +
I have tried several things so far, but I haven't had much luck yet.
I have had Delphi 2007 for a while. I tried the Delphi 2009 trial.
I am using cake 1.3 and i had tried to implement favicon..But some strang
Using the ultra-simple code below, as soon as I press a key on my
I am currently setting up 3 textviews that go into a LinearLayout(code below). However

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.